package com.bkitclub.mobiledevcamp.horseword.model.data;

public class DataSource {
	public static long[] data;

	public static long[] getData() {
		int d0 = DataSource0.data.length;
		int d1 = DataSource1.data.length;
		int d2 = DataSource2.data.length;
		int d3 = DataSource3.data.length;
		int d4 = DataSource4.data.length;
		data = new long[DataSource0.data.length + DataSource1.data.length
				+ DataSource2.data.length + DataSource3.data.length
				+ DataSource4.data.length];
		int count = 0;
		for (int i = 0; i < d0; i++) {
			data[i] = DataSource0.data[i];
		}
		count += d0;
		for (int i = 0; i < d1; i++) {
			data[count + i] = DataSource1.data[i];
		}
		count += d1;
		for (int i = 0; i < d2; i++) {
			data[count + i] = DataSource2.data[i];
		}
		count += d2;
		for (int i = 0; i < d3; i++) {
			data[count + i] = DataSource3.data[i];
		}
		count += d3;
		for (int i = 0; i < d4; i++) {
			data[count + i] = DataSource4.data[i];
		}

		return data;
	}
}
